<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:c="http://java.sun.com/jstl/core"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:o="http://openfaces.org/"
      xmlns:ui="http://java.sun.com/jsf/facelets">
	

 		<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />		   
    <head>

        <title><ui:insert name="title"/></title>
        
        <link type="text/css" href="#{request.contextPath}/resources/css/jquery.ui.all.css" rel="stylesheet" />
        <link type="text/css" href="#{request.contextPath}/resources/css/demos.css" rel="stylesheet" />
        <link rel="stylesheet" type="text/css" href="#{request.contextPath}/resources/css/default.css"/>
        <link rel="stylesheet" type="text/css" href="#{request.contextPath}/resources/css/menuStyle.css"/>
        <link rel="stylesheet" type="text/css" href="#{request.contextPath}/resources/css/jquery.ui.base.css"/>

 		<script type="text/javascript" src="#{request.contextPath}/resources/scripts/jquery-1.4.2.min.js"></script>
        <script type="text/javascript" src="#{request.contextPath}/resources/scripts/ui/jquery-ui-1.8.5.custom.min.js"></script>

		<script>
			$(function() {
				<c:if test="#{siteProperties.autocomplete}">
					$(".visit").autocomplete({source:"#{request.contextPath}/visit.autocomplete"});
					$(".collectedBy").autocomplete({source:"#{request.contextPath}/collectedBy.autocomplete"});
					$(".location").autocomplete({source:"#{request.contextPath}/location.autocomplete"});
					$(".locationName").autocomplete({source:"#{request.contextPath}/locationName.autocomplete"});
					$(".socialGroup").autocomplete({source:"#{request.contextPath}/socialGroup.autocomplete"});
					$(".individual").autocomplete({source:"#{request.contextPath}/individual.autocomplete"});
				</c:if>
			});
		</script>
    </head>

    <body>
		<div id="navi">
            <div id="headers">
                <h:graphicImage id="n" style="width: 100%" value="/resources/images/logo2.jpg"  title="Openhds logo"/>
            </div>
            <!-- Include the logo composition -->
            <ui:include src="/templates/logo.xhtml" />

            <c:if test="#{flowScope == null or flowScope.showNavMenu}">
                <ui:include src="/snippets/menu.xhtml"/>
            </c:if>
        </div>

        <div id="content">
        	<c:if test="#{hideTabBar == null or hideTabBar != true}">
				<ui:include src="/templates/tab-bar.xhtml" />
			</c:if>
            
            <div id="center" class="boxcontent" >
            	<div style="#{crud.showListing ? '' : 'display:none;'}">
                	<ui:insert name="listing"/>
               	</div>
               	<div style="#{crud.showListing ? 'display:none;' : ''}">
                	<ui:insert name="display" />
                </div>
            </div>
        </div>

		<div style="" />

        <span id="navi-scroll-block" style="float:left;clear:left;height:4em;">
        	<!-- Acting as a spacer because the footer will overlay the content since its position is set to fixed -->
        	<!-- This will provide the necessary space so that scrolling works properly -->
        </span>
        
		<div id="footer" align="center">
			#{msg.footerTop} ${appSettings.versionNumber}
			<br />
			#{msg.footerBottom}
			<a href="http://svn.rcg.usm.maine.edu/redmine/projects/show/openhds" title="Site">#{msg.footerWebsite}</a> | <a href="#" title="License">#{msg.footerLicense}</a> | <a href="http://svn.rcg.usm.maine.edu/redmine/repositories/show/openhds" title="Repository">#{msg.footerRepository}</a>
		</div>
    </body>
    <o:popupLayer id="popupWindowForSex"
        	 width="30%"
        	 height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForSex').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>#{msg.popupValidValues}:</h3>
			<ul>
				<c:forEach items="#{valueExtensionIterator.genderConstraint}" var="dv">
					<li>#{dv.key} - #{dv.value}</li>
				</c:forEach>
			</ul>
    	</div>
	</o:popupLayer>
   	<o:popupLayer id="popupWindowForLocType"
             width="30%"
             height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForLocType').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>#{msg.popupValidValues}:</h3>
			<ul>
				<c:forEach items="#{valueExtensionIterator.locationTypeConstraint}" var="dv">
					<li>#{dv.key} - #{dv.value}</li>
				</c:forEach>
			</ul>
    	</div>
	</o:popupLayer>
	<o:popupLayer id="popupWindowForDobAspect"
			width="30%"
	        height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForDobAspect').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>#{msg.popupValidValues}:</h3>
			<ul>
				<c:forEach items="#{valueExtensionIterator.dobAspectConstraint}" var="dv">
					<li>#{dv.key} - #{dv.value}</li>
				</c:forEach>
			</ul>
	    </div>
	</o:popupLayer>
    <o:popupLayer id="popupWindowForSGType"
             width="30%"
             height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForSGType').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>#{msg.popupValidValues}:</h3>
			<ul>
				<c:forEach items="#{valueExtensionIterator.socialGroupTypeConstraint}" var="dv">
					<li>#{dv.key} - #{dv.value}</li>
				</c:forEach>
			</ul>
    	</div>
	</o:popupLayer>	
	<o:popupLayer id="popupWindowForRelationship"
	              width="30%"
	              height="30%">
			<div style="position:absolute;right:1%;top:1%">
				<input type="button" value="Close [X]" onclick="O$('popupWindowForRelationship').hide();"/>
			</div>
			<div style="overflow:auto;padding:.5em;">
				<h3>#{msg.popupValidValues}:</h3>
				<ul>
					<c:forEach items="#{valueExtensionIterator.membershipConstraint}" var="dv">
						<li>#{dv.key} - #{dv.value}</li>
					</c:forEach>
				</ul>
	    	</div>
	</o:popupLayer>	
	<o:popupLayer id="popupWindowForMembershipStartType"
        width="30%"
        height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForMembershipStartType').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>#{msg.popupValidValues}:</h3>
			<ul>
				<li>#{siteProperties.birthCode} - #{msg.birth}</li>
				<li>#{siteProperties.inmigrationCode} - #{msg.inmigration}</li>
				<li>#{siteProperties.marriageCode} - #{msg.marriage}</li>
				<li>#{siteProperties.enumerationCode} - #{msg.enumeration}</li>
			</ul>
    	</div>
	</o:popupLayer>
	<o:popupLayer id="popupWindowForMembershipEndType"
        width="30%"
        height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForMembershipEndType').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>#{msg.popupValidValues}:</h3>
			<ul>
				<li>#{siteProperties.deathCode} - #{msg.death}</li>
				<li>#{siteProperties.outmigrationCode} - #{msg.outmigration}</li>
				<li>#{siteProperties.notApplicableCode} - #{msg.notApplicable}</li>
			</ul>
    	</div>
	</o:popupLayer>
	<o:popupLayer id="popupWindowForMaritalStatusEndType"
             width="30%"
             height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForMaritalStatusEndType').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>#{msg.popupValidValues}:</h3>
			<ul>
				<li>#{siteProperties.notApplicableCode} - #{msg.none}</li>
				<li>#{siteProperties.deathCode} - #{msg.death}</li>
				<li>#{siteProperties.outmigrationCode} - #{msg.outmigration}</li>
			</ul>
    	</div>
	</o:popupLayer>	
	<o:popupLayer id="popupWindowForMaritalStatusStartType"
             width="30%"
             height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForMaritalStatusStartType').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>#{msg.popupValidValues}:</h3>
			<ul>
				<c:forEach items="#{valueExtensionIterator.maritalStatusConstraint}" var="dv">
					<li>#{dv.key} - #{dv.value}</li>
				</c:forEach>
			</ul>
    	</div>
	</o:popupLayer>	
	<o:popupLayer id="popupWindowForResidencyStartTypeCodes"
             width="30%"
             height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForResidencyStartTypeCodes').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>#{msg.popupValidValues}:</h3>
			<ul>
				<li>#{siteProperties.enumerationCode} - #{msg.enumeration}</li>
				<li>#{siteProperties.inmigrationCode} - #{msg.inmigration}</li>
			</ul>
    	</div>
	</o:popupLayer>	
	<o:popupLayer id="popupWindowForResidencyEndTypeCodes"
             width="30%"
             height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForResidencyEndTypeCodes').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>#{msg.popupValidValues}:</h3>
			<ul>
				<li>#{siteProperties.outmigrationCode} - #{msg.outmigration}</li>
				<li>#{siteProperties.deathCode} - #{msg.death}</li>
			</ul>
    	</div>
	</o:popupLayer>		
    <o:popupLayer id="popupWindowForPregOutcome"
             width="30%"
             height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForPregOutcome').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>#{msg.popupValidValues}:</h3>
			<ul>
				<li>#{siteProperties.liveBirthCode} - #{msg.pregnancyOutcomeLiveBirth}</li>
				<li>#{siteProperties.stillBirthCode} - #{msg.pregnancyOutcomeStillBirth}</li>
				<li>#{siteProperties.miscarriageCode} - #{msg.pregnancyOutcomeMiscarriage}</li>
				<li>#{siteProperties.abortionCode} - #{msg.pregnancyOutcomeAbortion}</li>
			</ul>
    	</div>
	</o:popupLayer>		
	<o:popupLayer id="popupWindowForDataStatus"
            width="30%"
            height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForDataStatus').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>#{msg.popupValidValues}:</h3>
			<ul>
				<li>#{siteProperties.dataStatusPendingCode} - #{msg.popupPending}</li>
				<li>#{siteProperties.dataStatusValidCode} - #{msg.popupValid}</li>
				<li>#{siteProperties.dataStatusVoidCode} - #{msg.popupVoid}</li>
				<li>#{siteProperties.dataStatusWarningCode} - #{msg.popupWarning}</li>
				<li>#{siteProperties.dataStatusClosedCode} - #{msg.popupClosed}</li>
				<li>#{siteProperties.dataStatusFatalCode} - #{msg.popupFatal}</li>
			</ul>
	   	</div>
	</o:popupLayer>	
	<o:popupLayer id="popupWindowForMaritalStatusOfDeceased"
             width="30%"
             height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForMaritalStatusOfDeceased').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>Valid values:</h3>
			<ul>
				<c:forEach items="#{valueExtensionIterator.maritalStatusOfDeceasedConstraint}" var="dv">
					<li>#{dv.key} - #{dv.value}</li>
				</c:forEach>
			</ul>
    	</div>
	</o:popupLayer>
	<o:popupLayer id="popupWindowForHighestEducationOfDeceased"
             width="30%"
             height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForHighestEducationOfDeceased').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>Valid values:</h3>
			<ul>
				<c:forEach items="#{valueExtensionIterator.highestEducationOfDeceasedConstraint}" var="dv">
					<li>#{dv.key} - #{dv.value}</li>
				</c:forEach>
			</ul>
    	</div>
	</o:popupLayer>
	<o:popupLayer id="popupWindowForOccupationOfDeceased"
             width="30%"
             height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForOccupationOfDeceased').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>Valid values:</h3>
			<ul>
				<c:forEach items="#{valueExtensionIterator.occupationOfDeceasedConstraint}" var="dv">
					<li>#{dv.key} - #{dv.value}</li>
				</c:forEach>
			</ul>
    	</div>
	</o:popupLayer>
	<o:popupLayer id="popupWindowForRelationshipOfRespondent"
             width="30%"
             height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForRelationshipOfRespondent').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>Valid values:</h3>
			<ul>
				<c:forEach items="#{valueExtensionIterator.relationshipOfRespondentConstraint}" var="dv">
					<li>#{dv.key} - #{dv.value}</li>
				</c:forEach>
			</ul>
    	</div>
	</o:popupLayer>
	<o:popupLayer id="popupWindowForWhereDied"
             width="30%"
             height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForWhereDied').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>Valid values:</h3>
			<ul>
				<c:forEach items="#{valueExtensionIterator.whereDiedConstraint}" var="dv">
					<li>#{dv.key} - #{dv.value}</li>
				</c:forEach>
			</ul>
    	</div>
	</o:popupLayer>
	<o:popupLayer id="popupWindowForSymptomSeverity"
             width="30%"
             height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForSymptomSeverity').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>Valid values:</h3>
			<ul>
				<c:forEach items="#{valueExtensionIterator.symptomSeverityConstraint}" var="dv">
					<li>#{dv.key} - #{dv.value}</li>
				</c:forEach>
			</ul>
    	</div>
	</o:popupLayer>
	<o:popupLayer id="popupWindowForYesNoDontKnow"
             width="30%"
             height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForYesNoDontKnow').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>Valid values:</h3>
			<ul>
				<c:forEach items="#{valueExtensionIterator.yesNoDontKnowConstraint}" var="dv">
					<li>#{dv.key} - #{dv.value}</li>
				</c:forEach>
			</ul>
    	</div>
	</o:popupLayer>
	<o:popupLayer id="popupWindowForAccidentType"
             width="30%"
             height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForAccidentType').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>Valid values:</h3>
			<ul>
				<c:forEach items="#{valueExtensionIterator.accidentTypeConstraint}" var="dv">
					<li>#{dv.key} - #{dv.value}</li>
				</c:forEach>
			</ul>
    	</div>
	</o:popupLayer>
	<o:popupLayer id="popupWindowForAnimalBiteType"
             width="30%"
             height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForAnimalBiteType').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>Valid values:</h3>
			<ul>
				<c:forEach items="#{valueExtensionIterator.animalBiteTypeConstraint}" var="dv">
					<li>#{dv.key} - #{dv.value}</li>
				</c:forEach>
			</ul>
    	</div>
	</o:popupLayer>
	<o:popupLayer id="popupWindowForInjuryType"
             width="30%"
             height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForInjuryType').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>Valid values:</h3>
			<ul>
				<c:forEach items="#{valueExtensionIterator.injuryTypeConstraint}" var="dv">
					<li>#{dv.key} - #{dv.value}</li>
				</c:forEach>
			</ul>
    	</div>
	</o:popupLayer>
	<o:popupLayer id="popupWindowForYesNoDontKnowNA"
             width="30%"
             height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForYesNoDontKnowNA').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>Valid values:</h3>
			<ul>
				<c:forEach items="#{valueExtensionIterator.yesNoDontKnowNAConstraint}" var="dv">
					<li>#{dv.key} - #{dv.value}</li>
				</c:forEach>
			</ul>
    	</div>
	</o:popupLayer>
	<o:popupLayer id="popupWindowForSurvivedBeforeDeath"
             width="30%"
             height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForSurvivedBeforeDeath').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>Valid values:</h3>
			<ul>
				<c:forEach items="#{valueExtensionIterator.survivedBeforeDeathConstraint}" var="dv">
					<li>#{dv.key} - #{dv.value}</li>
				</c:forEach>
			</ul>
    	</div>
	</o:popupLayer>
	<o:popupLayer id="popupWindowForSuicide"
             width="30%"
             height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForSuicide').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>Valid values:</h3>
			<ul>
				<c:forEach items="#{valueExtensionIterator.suicideConstraint}" var="dv">
					<li>#{dv.key} - #{dv.value}</li>
				</c:forEach>
			</ul>
    	</div>
	</o:popupLayer>
	<o:popupLayer id="popupWindowForRashLookLike"
             width="30%"
             height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForRashLookLike').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>Valid values:</h3>
			<ul>
				<c:forEach items="#{valueExtensionIterator.rashLookLikeConstraint}" var="dv">
					<li>#{dv.key} - #{dv.value}</li>
				</c:forEach>
			</ul>
    	</div>
	</o:popupLayer>
	<o:popupLayer id="popupWindowForLoseWeightHowLong"
             width="30%"
             height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForLoseWeightHowLong').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>Valid values:</h3>
			<ul>
				<c:forEach items="#{valueExtensionIterator.loseWeightHowLongConstraint}" var="dv">
					<li>#{dv.key} - #{dv.value}</li>
				</c:forEach>
			</ul>
    	</div>
	</o:popupLayer>
	<o:popupLayer id="popupWindowForLoseWeightSeverity"
             width="30%"
             height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForLoseWeightSeverity').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>Valid values:</h3>
			<ul>
				<c:forEach items="#{valueExtensionIterator.loseWeightSeverityConstraint}" var="dv">
					<li>#{dv.key} - #{dv.value}</li>
				</c:forEach>
			</ul>
    	</div>
	</o:popupLayer>
	<o:popupLayer id="popupWindowForLookEndOfLife"
             width="30%"
             height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForLookEndOfLife').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>Valid values:</h3>
			<ul>
				<c:forEach items="#{valueExtensionIterator.lookEndOfLifeConstraint}" var="dv">
					<li>#{dv.key} - #{dv.value}</li>
				</c:forEach>
			</ul>
    	</div>
	</o:popupLayer>
	<o:popupLayer id="popupWindowForCoughWorst"
             width="30%"
             height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForCoughWorst').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>Valid values:</h3>
			<ul>
				<c:forEach items="#{valueExtensionIterator.coughWorstConstraint}" var="dv">
					<li>#{dv.key} - #{dv.value}</li>
				</c:forEach>
			</ul>
    	</div>
	</o:popupLayer>
	<o:popupLayer id="popupWindowForChestPainStart"
             width="30%"
             height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForChestPainStart').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>Valid values:</h3>
			<ul>
				<c:forEach items="#{valueExtensionIterator.chestPainStartConstraint}" var="dv">
					<li>#{dv.key} - #{dv.value}</li>
				</c:forEach>
			</ul>
    	</div>
	</o:popupLayer>
	<o:popupLayer id="popupWindowForChestPainResting"
             width="30%"
             height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForChestPainResting').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>Valid values:</h3>
			<ul>
				<c:forEach items="#{valueExtensionIterator.chestPainRestingConstraint}" var="dv">
					<li>#{dv.key} - #{dv.value}</li>
				</c:forEach>
			</ul>
    	</div>
	</o:popupLayer>
	<o:popupLayer id="popupWindowForLengthOfChestPain"
             width="30%"
             height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForLengthOfChestPain').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>Valid values:</h3>
			<ul>
				<c:forEach items="#{valueExtensionIterator.lengthOfChestPainConstraint}" var="dv">
					<li>#{dv.key} - #{dv.value}</li>
				</c:forEach>
			</ul>
    	</div>
	</o:popupLayer>
	<o:popupLayer id="popupWindowForStoolConsistency"
             width="30%"
             height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForStoolConsistency').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>Valid values:</h3>
			<ul>
				<c:forEach items="#{valueExtensionIterator.stoolConsistencyConstraint}" var="dv">
					<li>#{dv.key} - #{dv.value}</li>
				</c:forEach>
			</ul>
    	</div>
	</o:popupLayer>
	<o:popupLayer id="popupWindowForVomitLookLike"
             width="30%"
             height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForVomitLookLike').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>Valid values:</h3>
			<ul>
				<c:forEach items="#{valueExtensionIterator.vomitLookLikeConstraint}" var="dv">
					<li>#{dv.key} - #{dv.value}</li>
				</c:forEach>
			</ul>
    	</div>
	</o:popupLayer>
	<o:popupLayer id="popupWindowForAbdominalPainType"
             width="30%"
             height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForAbdominalPainType').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>Valid values:</h3>
			<ul>
				<c:forEach items="#{valueExtensionIterator.abdominalPainTypeConstraint}" var="dv">
					<li>#{dv.key} - #{dv.value}</li>
				</c:forEach>
			</ul>
    	</div>
	</o:popupLayer>
	<o:popupLayer id="popupWindowForDistentionOfAbdomen"
             width="30%"
             height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForDistentionOfAbdomen').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>Valid values:</h3>
			<ul>
				<c:forEach items="#{valueExtensionIterator.distentionOfAbdomenConstraint}" var="dv">
					<li>#{dv.key} - #{dv.value}</li>
				</c:forEach>
			</ul>
    	</div>
	</o:popupLayer>
	<o:popupLayer id="popupWindowForNeckPain"
             width="30%"
             height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForNeckPain').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>Valid values:</h3>
			<ul>
				<c:forEach items="#{valueExtensionIterator.neckPainConstraint}" var="dv">
					<li>#{dv.key} - #{dv.value}</li>
				</c:forEach>
			</ul>
    	</div>
	</o:popupLayer>
	<o:popupLayer id="popupWindowForConsciousness"
             width="30%"
             height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForConsciousness').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>Valid values:</h3>
			<ul>
				<c:forEach items="#{valueExtensionIterator.consciousnessConstraint}" var="dv">
					<li>#{dv.key} - #{dv.value}</li>
				</c:forEach>
			</ul>
    	</div>
	</o:popupLayer>
	<o:popupLayer id="popupWindowForConsciousnessStart"
             width="30%"
             height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForConsciousnessStart').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>Valid values:</h3>
			<ul>
				<c:forEach items="#{valueExtensionIterator.consciousnessStartConstraint}" var="dv">
					<li>#{dv.key} - #{dv.value}</li>
				</c:forEach>
			</ul>
    	</div>
	</o:popupLayer>
	<o:popupLayer id="popupWindowForFitsAwareness"
             width="30%"
             height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForFitsAwareness').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>Valid values:</h3>
			<ul>
				<c:forEach items="#{valueExtensionIterator.fitsAwarenessConstraint}" var="dv">
					<li>#{dv.key} - #{dv.value}</li>
				</c:forEach>
			</ul>
    	</div>
	</o:popupLayer>
	<o:popupLayer id="popupWindowForFitsOpeningMouth"
             width="30%"
             height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForFitsOpeningMouth').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>Valid values:</h3>
			<ul>
				<c:forEach items="#{valueExtensionIterator.fitsOpeningMouthConstraint}" var="dv">
					<li>#{dv.key} - #{dv.value}</li>
				</c:forEach>
			</ul>
    	</div>
	</o:popupLayer> 
	<o:popupLayer id="popupWindowForParalysisDevelopment"
             width="30%"
             height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForParalysisDevelopment').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>Valid values:</h3>
			<ul>
				<c:forEach items="#{valueExtensionIterator.paralysisDevelopmentConstraint}" var="dv">
					<li>#{dv.key} - #{dv.value}</li>
				</c:forEach>
			</ul>
    	</div>
	</o:popupLayer> 
	<o:popupLayer id="popupWindowForUrineColor"
             width="30%"
             height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForUrineColor').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>Valid values:</h3>
			<ul>
				<c:forEach items="#{valueExtensionIterator.urineColorConstraint}" var="dv">
					<li>#{dv.key} - #{dv.value}</li>
				</c:forEach>
			</ul>
    	</div>
	</o:popupLayer> 
	<o:popupLayer id="popupWindowForUrinePassedAmount"
             width="30%"
             height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForUrinePassedAmount').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>Valid values:</h3>
			<ul>
				<c:forEach items="#{valueExtensionIterator.urinePassedAmountConstraint}" var="dv">
					<li>#{dv.key} - #{dv.value}</li>
				</c:forEach>
			</ul>
    	</div>
	</o:popupLayer> 
	<o:popupLayer id="popupWindowForDifficultyPassingUrine"
             width="30%"
             height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForDifficultyPassingUrine').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>Valid values:</h3>
			<ul>
				<c:forEach items="#{valueExtensionIterator.difficultyPassingUrineConstraint}" var="dv">
					<li>#{dv.key} - #{dv.value}</li>
				</c:forEach>
			</ul>
    	</div>
	</o:popupLayer> 
	<o:popupLayer id="popupWindowForSurgeryLocation"
             width="30%"
             height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForSurgeryLocation').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>Valid values:</h3>
			<ul>
				<c:forEach items="#{valueExtensionIterator.surgeryLocationConstraint}" var="dv">
					<li>#{dv.key} - #{dv.value}</li>
				</c:forEach>
			</ul>
    	</div>
	</o:popupLayer> 
	<o:popupLayer id="popupWindowForDeliveryLocation"
             width="30%"
             height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForDeliveryLocation').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>Valid values:</h3>
			<ul>
				<c:forEach items="#{valueExtensionIterator.deliveryLocationConstraint}" var="dv">
					<li>#{dv.key} - #{dv.value}</li>
				</c:forEach>
			</ul>
    	</div>
	</o:popupLayer> 
	<o:popupLayer id="popupWindowForManagedDelivery"
             width="30%"
             height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForManagedDelivery').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>Valid values:</h3>
			<ul>
				<c:forEach items="#{valueExtensionIterator.managedDeliveryConstraint}" var="dv">
					<li>#{dv.key} - #{dv.value}</li>
				</c:forEach>
			</ul>
    	</div>
	</o:popupLayer> 
	<o:popupLayer id="popupWindowForDeliveryMode"
             width="30%"
             height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForDeliveryMode').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>Valid values:</h3>
			<ul>
				<c:forEach items="#{valueExtensionIterator.deliveryModeConstraint}" var="dv">
					<li>#{dv.key} - #{dv.value}</li>
				</c:forEach>
			</ul>
    	</div>
	</o:popupLayer> 
	<o:popupLayer id="popupWindowForBabyHealthNow"
             width="30%"
             height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForBabyHealthNow').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>Valid values:</h3>
			<ul>
				<c:forEach items="#{valueExtensionIterator.babyHealthNowConstraint}" var="dv">
					<li>#{dv.key} - #{dv.value}</li>
				</c:forEach>
			</ul>
    	</div>
	</o:popupLayer> 
	<o:popupLayer id="popupWindowForWhichAntiMalariaDrug"
             width="30%"
             height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForWhichAntiMalariaDrug').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>Valid values:</h3>
			<ul>
				<c:forEach items="#{valueExtensionIterator.whichAntiMalariaDrugConstraint}" var="dv">
					<li>#{dv.key} - #{dv.value}</li>
				</c:forEach>
			</ul>
    	</div>
	</o:popupLayer> 
	<o:popupLayer id="popupWindowForDidDrinkAlcoholLength"
             width="30%"
             height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForDidDrinkAlcoholLength').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>Valid values:</h3>
			<ul>
				<c:forEach items="#{valueExtensionIterator.didDrinkAlcoholLengthConstraint}" var="dv">
					<li>#{dv.key} - #{dv.value}</li>
				</c:forEach>
			</ul>
    	</div>
	</o:popupLayer> 
	<o:popupLayer id="popupWindowForDidDrinkAlcoholHowOften"
             width="30%"
             height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForDidDrinkAlcoholHowOften').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>Valid values:</h3>
			<ul>
				<c:forEach items="#{valueExtensionIterator.didDrinkAlcoholHowOftenConstraint}" var="dv">
					<li>#{dv.key} - #{dv.value}</li>
				</c:forEach>
			</ul>
    	</div>
	</o:popupLayer> 
	<o:popupLayer id="popupWindowForDidSmokeHowOften"
             width="30%"
             height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForDidSmokeHowOften').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>Valid values:</h3>
			<ul>
				<c:forEach items="#{valueExtensionIterator.didSmokeHowOftenConstraint}" var="dv">
					<li>#{dv.key} - #{dv.value}</li>
				</c:forEach>
			</ul>
    	</div>
	</o:popupLayer> 
	<o:popupLayer id="popupWindowForDidSmokeHowMuch"
             width="30%"
             height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForDidSmokeHowMuch').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>Valid values:</h3>
			<ul>
				<c:forEach items="#{valueExtensionIterator.didSmokeHowMuchConstraint}" var="dv">
					<li>#{dv.key} - #{dv.value}</li>
				</c:forEach>
			</ul>
    	</div>
	</o:popupLayer> 
	<o:popupLayer id="popupWindowForReasonForInmigration"
             width="30%"
             height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForReasonForInmigration').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>Valid values:</h3>
			<ul>
				<c:forEach items="#{valueExtensionIterator.reasonForInmigrationConstraint}" var="dv">
					<li>#{dv.key} - #{dv.value}</li>
				</c:forEach>
			</ul>
    	</div>
	</o:popupLayer>
	<o:popupLayer id="popupWindowForPlaceMovedTo"
             width="30%"
             height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForPlaceMovedTo').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>Valid values:</h3>
			<ul>
				<c:forEach items="#{valueExtensionIterator.placeMovedToConstraint}" var="dv">
					<li>#{dv.key} - #{dv.value}</li>
				</c:forEach>
			</ul>
    	</div>
	</o:popupLayer>
	<o:popupLayer id="popupWindowForReason"
             width="30%"
             height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForReason').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>Valid values:</h3>
			<ul>
				<c:forEach items="#{valueExtensionIterator.reasonForOutmigrationConstraint}" var="dv">
					<li>#{dv.key} - #{dv.value}</li>
				</c:forEach>
			</ul>
    	</div>
	</o:popupLayer>
	<o:popupLayer id="popupWindowForOrigin"
             width="30%"
             height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForOrigin').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>Valid values:</h3>
			<ul>
				<c:forEach items="#{valueExtensionIterator.placeMovedFromConstraint}" var="dv">
					<li>#{dv.key} - #{dv.value}</li>
				</c:forEach>
			</ul>
    	</div>
	</o:popupLayer>	
	<o:popupLayer id="popupWindowForHealthFacility"
            width="30%"
            height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForHealthFacility').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>Valid values:</h3>
			<ul>
				<c:forEach items="#{valueExtensionIterator.healthFacilityConstraint}" var="dv">
					<li>#{dv.key} - #{dv.value}</li>
				</c:forEach>
			</ul>
    	</div>
   </o:popupLayer>  	
   <o:popupLayer id="popupWindowForReportedBy"
             width="30%"
             height="30%">
			<div style="position:absolute;right:1%;top:1%">
				<input type="button" value="Close [X]" onclick="O$('popupWindowForReportedBy').hide();"/>
			</div>
			<div style="overflow:auto;padding:.5em;">
				<h3>Valid values:</h3>
				<ul>
					<c:forEach items="#{valueExtensionIterator.reportedByConstraint}" var="dv">
						<li>#{dv.key} - #{dv.value}</li>
					</c:forEach>
				</ul>
	    	</div>
	</o:popupLayer>	
	<o:popupLayer id="popupWindowForWorkStatus"
	              width="30%"
	              height="30%">
			<div style="position:absolute;right:1%;top:1%">
				<input type="button" value="Close [X]" onclick="O$('popupWindowForWorkStatus').hide();"/>
			</div>
			<div style="overflow:auto;padding:.5em;">
				<h3>Work Status valid values:</h3>
				<ul>
					<c:forEach items="#{valueExtensionIterator.workStatusConstraint}" var="dv">
						<li>#{dv.key} - #{dv.value}</li>
					</c:forEach>
				</ul>
	    	</div>
	</o:popupLayer>
	<o:popupLayer id="popupWindowForYesNo"
            width="30%"
            height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForYesNo').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>Valid values:</h3>
			<ul>
				<c:forEach items="#{valueExtensionIterator.yesNoConstraint}" var="dv">
					<li>#{dv.key} - #{dv.value}</li>
				</c:forEach>
			</ul>
    	</div>
	</o:popupLayer>	
	<o:popupLayer id="popupWindowForSourceOfDob"
             width="30%"
             height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForSourceOfDob').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>Valid values:</h3>
			<ul>
				<c:forEach items="#{valueExtensionIterator.sourceOfDobConstraint}" var="dv">
					<li>#{dv.key} - #{dv.value}</li>
				</c:forEach>
			</ul>
    	</div>
	</o:popupLayer>		
	<o:popupLayer id="popupWindowForMothersHealthNow"
             width="30%"
             height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForMothersHealthNow').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>Valid values:</h3>
			<ul>
				<c:forEach items="#{valueExtensionIterator.mothersHealthNowConstraint}" var="dv">
					<li>#{dv.key} - #{dv.value}</li>
				</c:forEach>
			</ul>
    	</div>
	</o:popupLayer>	
	<o:popupLayer id="popupWindowForAssistedDelivery"
             width="30%"
             height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForAssistedDelivery').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>Valid values:</h3>
			<ul>
				<c:forEach items="#{valueExtensionIterator.assistedDeliveryConstraint}" var="dv">
					<li>#{dv.key} - #{dv.value}</li>
				</c:forEach>
			</ul>
    	</div>
	</o:popupLayer>	
	<o:popupLayer id="popupWindowForUmbilicalCord"
             width="30%"
             height="30%">
			<div style="position:absolute;right:1%;top:1%">
				<input type="button" value="Close [X]" onclick="O$('popupWindowForUmbilicalCord').hide();"/>
			</div>
			<div style="overflow:auto;padding:.5em;">
				<h3>Valid values:</h3>
				<ul>
					<c:forEach items="#{valueExtensionIterator.umbilicalCordConstraint}" var="dv">
						<li>#{dv.key} - #{dv.value}</li>
					</c:forEach>
				</ul>
	    	</div>
	 </o:popupLayer>
	 <o:popupLayer id="popupWindowForUmbilicalCordCut"
             width="30%"
             height="30%">
			<div style="position:absolute;right:1%;top:1%">
				<input type="button" value="Close [X]" onclick="O$('popupWindowForUmbilicalCordCut').hide();"/>
			</div>
			<div style="overflow:auto;padding:.5em;">
				<h3>Valid values:</h3>
				<ul>
					<c:forEach items="#{valueExtensionIterator.umbilicalCordCutConstraint}" var="dv">
						<li>#{dv.key} - #{dv.value}</li>
					</c:forEach>
				</ul>
	    	</div>
	 </o:popupLayer>
	 <o:popupLayer id="popupWindowForIllnessStart"
             width="30%"
             height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForIllnessStart').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>Valid values:</h3>
			<ul>
				<c:forEach items="#{valueExtensionIterator.illnessStartConstraint}" var="dv">
					<li>#{dv.key} - #{dv.value}</li>
				</c:forEach>
			</ul>
    	</div>
	</o:popupLayer>	
	<o:popupLayer id="popupWindowForChildBirthSize"
             width="30%"
             height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForChildBirthSize').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>Valid values:</h3>
			<ul>
				<c:forEach items="#{valueExtensionIterator.childBirthSizeConstraint}" var="dv">
					<li>#{dv.key} - #{dv.value}</li>
				</c:forEach>
			</ul>
    	</div>
	</o:popupLayer>	
	<o:popupLayer id="popupWindowForPeriods"
             width="30%"
             height="30%">
		<div style="position:absolute;right:1%;top:1%">
			<input type="button" value="Close [X]" onclick="O$('popupWindowForPeriods').hide();"/>
		</div>
		<div style="overflow:auto;padding:.5em;">
			<h3>Valid values:</h3>
			<ul>
				<li>#{msg.dhisDaily}</li>	
				<li>#{msg.dhisMonthly}</li>	
				<li>#{msg.dhisYearly}</li>	
			</ul>
    	</div>
	</o:popupLayer>
	<o:popupLayer id="popupWindowForPlaceOfBirth"
             width="30%"
             height="30%">
			<div style="position:absolute;right:1%;top:1%">
				<input type="button" value="Close [X]" onclick="O$('popupWindowForPlaceOfBirth').hide();"/>
			</div>
			<div style="overflow:auto;padding:.5em;">
				<h3>Valid values:</h3>
				<ul>
					<c:forEach items="#{valueExtensionIterator.placeOfBirthConstraint}" var="dv">
						<li>#{dv.key} - #{dv.value}</li>
					</c:forEach>
				</ul>
	    	</div>
	 </o:popupLayer>
	 <o:popupLayer id="popupWindowForMaritalStatus"
	              width="30%"
	              height="30%">
			<div style="position:absolute;right:1%;top:1%">
				<input type="button" value="Close [X]" onclick="O$('popupWindowForMaritalStatus').hide();"/>
			</div>
			<div style="overflow:auto;padding:.5em;">
				<h3>Valid values:</h3>
				<ul>
					<c:forEach items="#{valueExtensionIterator.maritalStatusConstraint}" var="dv">
						<li>#{dv.key} - #{dv.value}</li>
					</c:forEach>
				</ul>
	    	</div>
	</o:popupLayer>		
	<o:popupLayer id="popupWindowForEducationalStatus"
	              width="30%"
	              height="30%">
			<div style="position:absolute;right:1%;top:1%">
				<input type="button" value="Close [X]" onclick="O$('popupWindowForEducationalStatus').hide();"/>
			</div>
			<div style="overflow:auto;padding:.5em;">
				<h3>Valid values:</h3>
				<ul>
					<c:forEach items="#{valueExtensionIterator.educationalStatusConstraint}" var="dv">
						<li>#{dv.key} - #{dv.value}</li>
					</c:forEach>
				</ul>
	    	</div>
	</o:popupLayer>
	<o:popupLayer id="popupWindowForOccupationalStatus"
	              width="30%"
	              height="30%">
			<div style="position:absolute;right:1%;top:1%">
				<input type="button" value="Close [X]" onclick="O$('popupWindowForOccupationalStatus').hide();"/>
			</div>
			<div style="overflow:auto;padding:.5em;">
				<h3>Valid values:</h3>
				<ul>
					<c:forEach items="#{valueExtensionIterator.occupationalStatusConstraint}" var="dv">
						<li>#{dv.key} - #{dv.value}</li>
					</c:forEach>
				</ul>
	    	</div>
	</o:popupLayer>		
	<o:popupLayer id="popupWindowForAbdominalPainLocation"
	              width="30%"
	              height="30%">
			<div style="position:absolute;right:1%;top:1%">
				<input type="button" value="Close [X]" onclick="O$('popupWindowForAbdominalPainLocation').hide();"/>
			</div>
			<div style="overflow:auto;padding:.5em;">
				<h3>Valid values:</h3>
				<ul>
					<c:forEach items="#{valueExtensionIterator.abdominalPainLocationConstraint}" var="dv">
						<li>#{dv.key} - #{dv.value}</li>
					</c:forEach>
				</ul>
	    	</div>
	</o:popupLayer>	
	<o:popupLayer id="popupWindowForGrasp"
	              width="30%"
	              height="30%">
			<div style="position:absolute;right:1%;top:1%">
				<input type="button" value="Close [X]" onclick="O$('popupWindowForGrasp').hide();"/>
			</div>
			<div style="overflow:auto;padding:.5em;">
				<h3>Valid values:</h3>
				<ul>
					<c:forEach items="#{valueExtensionIterator.graspConstraint}" var="dv">
						<li>#{dv.key} - #{dv.value}</li>
					</c:forEach>
				</ul>
	    	</div>
	</o:popupLayer>	
    <o:popupLayer id="popupWindowForHouseholdStatus"
	              width="30%"
	              height="30%">
			<div style="position:absolute;right:1%;top:1%">
				<input type="button" value="Close [X]" onclick="O$('popupWindowForHouseholdStatus').hide();"/>
			</div>
			<div style="overflow:auto;padding:.5em;">
				<h3>Valid values:</h3>
				<ul>
					<c:forEach items="#{valueExtensionIterator.householdStatusConstraint}" var="dv">
						<li>#{dv.key} - #{dv.value}</li>
					</c:forEach>
				</ul>
	    	</div>
	</o:popupLayer>	
	<o:popupLayer id="popupWindowForPlaceOfDeath"
	              width="30%"
	              height="30%">
			<div style="position:absolute;right:1%;top:1%">
				<input type="button" value="Close [X]" onclick="O$('popupWindowForPlaceOfDeath').hide();"/>
			</div>
			<div style="overflow:auto;padding:.5em;">
				<h3>Valid values:</h3>
				<ul>
					<c:forEach items="#{valueExtensionIterator.placeOfDeathConstraint}" var="dv">
						<li>#{dv.key} - #{dv.value}</li>
					</c:forEach>
				</ul>
	    	</div>
	</o:popupLayer>						
</html>
